package com.yc.baihe.beans;

import java.io.Serializable;

public class UserGesslike implements Serializable{
	private static final long serialVersionUID = 1L;
	private int buid;//用户账号
	private String height;//喜欢的身高
	private String weight;//喜欢的体重
	private String font;//喜欢的兴趣爱好
	
	private String temp1;//备用
	private String temp2;//备用
	
	@Override
	public String toString() {
		return "User_gesslike [buid=" + buid + ", height=" + height + ", weight="
				+ weight + ", font=" + font + ", temp1=" + temp1 + ", temp2="
				+ temp2 + "]";
	}

	public int getBuid() {
		return buid;
	}

	public void setBuid(int buid) {
		this.buid = buid;
	}

	public String getHeight() {
		return height;
	}

	public void setHeight(String height) {
		this.height = height;
	}

	public String getWeight() {
		return weight;
	}

	public void setWeight(String weight) {
		this.weight = weight;
	}

	public String getFont() {
		return font;
	}

	public void setFont(String font) {
		this.font = font;
	}

	public String getTemp1() {
		return temp1;
	}

	public void setTemp1(String temp1) {
		this.temp1 = temp1;
	}

	public String getTemp2() {
		return temp2;
	}

	public void setTemp2(String temp2) {
		this.temp2 = temp2;
	}

	public UserGesslike(int buid, String height, String weight, String font,
			String temp1, String temp2) {
		super();
		this.buid = buid;
		this.height = height;
		this.weight = weight;
		this.font = font;
		this.temp1 = temp1;
		this.temp2 = temp2;
	}

	public UserGesslike() {
		super();
	}

	@Override
	public int hashCode() {
		final int prime = 31;
		int result = 1;
		result = prime * result + ((font == null) ? 0 : font.hashCode());
		result = prime * result + ((height == null) ? 0 : height.hashCode());
		result = prime * result + ((temp1 == null) ? 0 : temp1.hashCode());
		result = prime * result + ((temp2 == null) ? 0 : temp2.hashCode());
		result = prime * result + buid;
		result = prime * result + ((weight == null) ? 0 : weight.hashCode());
		return result;
	}

	@Override
	public boolean equals(Object obj) {
		if (this == obj)
			return true;
		if (obj == null)
			return false;
		if (getClass() != obj.getClass())
			return false;
		UserGesslike other = (UserGesslike) obj;
		if (font == null) {
			if (other.font != null)
				return false;
		} else if (!font.equals(other.font))
			return false;
		if (height == null) {
			if (other.height != null)
				return false;
		} else if (!height.equals(other.height))
			return false;
		if (temp1 == null) {
			if (other.temp1 != null)
				return false;
		} else if (!temp1.equals(other.temp1))
			return false;
		if (temp2 == null) {
			if (other.temp2 != null)
				return false;
		} else if (!temp2.equals(other.temp2))
			return false;
		if (buid != other.buid)
			return false;
		if (weight == null) {
			if (other.weight != null)
				return false;
		} else if (!weight.equals(other.weight))
			return false;
		return true;
	}
	
}
